package com.wqh.eurekaconsumer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wanqh
 * @date 2018/01/07 16:16
 * @description:
 */
@RestController
public class DcController {
    @Autowired
    private FeignDcClient feignDcClient;

    @GetMapping("/consumer")
    public String dc(){
        return feignDcClient.consumer();
    }
}
